Skip to content

26.3 fb investigate windows failures#2922

Open
labkey-danield wants to merge 22 commits intorelease26.3-SNAPSHOTfrom
26.3_fb_investigateWindowsFailures
Open

26.3 fb investigate windows failures#2922
labkey-danield wants to merge 22 commits intorelease26.3-SNAPSHOTfrom
26.3_fb_investigateWindowsFailures

Conversation

@labkey-danield
Copy link
Copy Markdown
Contributor

@labkey-danield labkey-danield commented Mar 25, 2026

Rationale

The AssayTransformMissingParentDirTest.testMissingParentDirectoryRegression is failing on windows because the expected error message is not shown.
The expected error message is not shown because the directory that contains the R script is not deleted as expected. It looks like windows holds onto the directory a little longer.
This avoids the issue on windows by using a retry mechanism to delete the directory.

Related Pull Requests

  • None.

Changes

  • If the directory is locked (AccessDenied) use a retry method to try and delete it again.

@github-actions
Copy link
Copy Markdown

WARNING: This PR appears to have the default title generated by GitHub. Please use something more descriptive.

Copy link
Copy Markdown
Contributor

@labkey-jeckels labkey-jeckels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might want to attempt the delete multiple times with delays in-between if it fails since the original failure looks to be caused by Windows locking the file from it still being open by some process. But sounds like this is passing consistently already so feel free to delay that for future troubleshooting, if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants